package cn.emall;

import cn.emall.config.FilterProperties;
import cn.emall.config.JwtProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableDiscoveryClient
@EnableZuulProxy
@EnableSwagger2
@EnableConfigurationProperties({JwtProperties.class, FilterProperties.class})
public class EmallGateWayApplication {
    public static void main(String[] args) {
        SpringApplication.run(EmallGateWayApplication.class,args);
    }
}
